package com.hlkj.pay.infrastructure.model.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


/**
* 订单风险表
* @TableName t_order_complaint
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_order_risk")
public class OrderRiskDO extends BaseDO {

    @Schema(description = "风险渠道ID")
    private Long channelId;

    @TableField(exist = false)
    @Schema(description = "风险渠道名称")
    private String channelSubject;

    @TableField(exist = false)
    @Schema(description = "通道编号")
    private String appChannelCode;

    @TableField(exist = false)
    @Schema(description = "通道子商户号")
    private String appChannelSubMchId;

    @Schema(description = "商户商户号")
    private String sn;

    @Schema(description = "进件ID")
    private Long accessId;

    @TableField(exist = false)
    @Schema(description = "商户名称")
    private String snName;

    @Schema(description = "商户号")
    private String appId;

    @Schema(description = "默认服务商")
    private String providerCode;

    @TableField(exist = false)
    @Schema(description = "默认服务商")
    private String providerName;

    @Schema(description = "渠道编码")
    private String channelCode;

    @TableField(exist = false)
    @Schema(description = "渠道名称")
    private String channelName;

    @Schema(description = "风险来源 1:微信 2：支付宝")
    private Integer type;

    @Schema(description = "风险单关联的子商户号")
    private String subMchid;
    @Schema(description = "子商户公司名称")
    private String companyName;
    @Schema(description = "风险单号")
    private String riskId;
    @Schema(description = "风险类型")
    private String riskType;
    @Schema(description = "风险描述")
    private String riskDescription;
    @Schema(description = "处罚方案")
    private String punishPlan;
    @Schema(description = "处罚方案的详细描述信息")
    private String punishDescription;
    @Schema(description = "处罚时间")
    private Long punishTime;
}
